package com.jing.yao.modules.resource.dao.entity;

import com.jing.yao.component.entity.YaoBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 角色与资源关联表
 *
 * @author lirui
 * @since 2020-06-13
 */
@TableName("anji_plus_role_resource")
public class RoleResourceEntity extends YaoBaseEntity implements Serializable {

    /**
     * 角色编码
     */
    private String roleCode;

    /**
     * 资源编码
     */
    private String resCode;

    /**
     * 0:权限，1：菜单
     */
    private Integer isMenu;

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public Integer getIsMenu() {
        return isMenu;
    }

    public void setIsMenu(Integer isMenu) {
        this.isMenu = isMenu;
    }
}
